package com.example.publice.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 公共配置
 */
@Component
@ConfigurationProperties(prefix = "example")
public class ExampleConfigValue {

    private  boolean addressEnabled;

    private  String temporaryPath;

    public  boolean isAddressEnabled() {
        return addressEnabled;
    }

    public  void setAddressEnabled(boolean addressEnabled) {
        this.addressEnabled = addressEnabled;
    }

    public  String getTemporaryPath() {
        return temporaryPath;
    }

    public  void setTemporaryPath(String temporaryPath) {
        this.temporaryPath = temporaryPath;
    }
}
